/**
 * 
 */
package instructions;
import dataCPU.*;

/**
 * @author dt08nu0
 *
 */
public class Add extends Operation {

	/**
	 * 
	 */
	public Add(Data data1, Data data2, Address address) {
		super(data1, data2, address);
	}
	
	protected Word operand(Word value1, Word value2){
		return value1.mul(value2);
	}

    public String toString(){
	return "ADD "+data1.toString() +" " +data2.toString()+" "+address.toString();

}
